package com.twb.fileCenter.entity.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;

/**
 * @ClassName UploadFilesDto
 * @Description 上传文件方法返回对象
 * @author DSY
 * @date 2018年12月17日 上午11:59:42
 */
@ApiModel(value = "UploadFilesDto", description = "/fileCenter/uploadFiles 出参对象")
public class UploadFilesDto implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 文件ID
	 */
	private String fileId;
	/**
	 * 上传是否成功
	 */
	private boolean success = false;
	/**
	 * 文件路径
	 */
	private String path;

	/**
	 * 缩略图文件路径
	 */
	private String thumbnailPath;

	/**
	 * 文件发布url
	 */
	private String url;

	/**
	 * 文件发布url - 兼容附件存储表
	 */
	private String filePath;


	/**
	 * 缩略图文件发布url
	 */
	private String thumbnailUrl;

	/**
	 * 文件名称
	 */
	private String newName;

	/**
	 * 文件原始名称
	 */
	private String oldName;

	/**
	 * 文件类型
	 */
	private String fileType;

	/**
	 * 提示信息
	 */
	private String msg;

	public String getFileId() {
		return fileId;
	}

	public void setFileId(String fileId) {
		this.fileId = fileId;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getThumbnailPath() {
		return thumbnailPath;
	}

	public void setThumbnailPath(String thumbnailPath) {
		this.thumbnailPath = thumbnailPath;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getFilePath() {
		return filePath;
	}

	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}

	public String getThumbnailUrl() {
		return thumbnailUrl;
	}

	public void setThumbnailUrl(String thumbnailUrl) {
		this.thumbnailUrl = thumbnailUrl;
	}

	public String getNewName() {
		return newName;
	}

	public void setNewName(String newName) {
		this.newName = newName;
	}

	public String getOldName() {
		return oldName;
	}

	public void setOldName(String oldName) {
		this.oldName = oldName;
	}

	public String getFileType() {
		return fileType;
	}

	public void setFileType(String fileType) {
		this.fileType = fileType;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
